# 1. ZeroDivisionError
# a = 2 / 0
# print(a)

# 2.IndexError
# data_list = ['a','b','c']
# print(data_list[5])

# 3.KeyError
# data_dict = {"username":"admin","password":"12345"}
# print(data_dict['haha'])

# 4.NameError
'''
a = 'aaaa'

def say():
    print(b)

say()
'''

# 5.TypeError
# print(ord(65))

# 6.ValueError
print(int('a', 2))
